package com.geely.design.pattern.behavioral.state;

public abstract class CourseVideoState {
    protected CourseVideoContext courseVideoContext;
    public void setCourseVideoContext(CourseVideoContext courseVideoContext) {
        this.courseVideoContext = courseVideoContext;
    }
    // 播放
    public abstract void play();
    // 暂停
    public abstract void pause();
    // 快进
    public abstract void speed();
    // 停止
    public abstract void stop();
}
